This book constitutes the refereed proceedings of the 4th International Conference on Fun with Algorithms, FUN 2007, held ...